body {
    background-color: #ccc;
}

header {
    display: flex;
    /* justify-content: space-between; */
    position: relative;
    border-bottom: 1px solid #e5e5e5;
    min-height: 44px;
    background: #fff;
    width: 100%;
}

.jd-header-search-input {
    border-radius: 30px;
    height: 30px;
    background-color: #eee;
    margin-right: 20px;
    margin-top: 8px;
    flex: 1;
}

.jd-header-search-input input {
    border: 0;
    background: 0 0;
    line-height: 30px;
}

.jd-header-search-input i {
    display: block;
    width: 18px;
    height: 15px;
    background: url(../images/jd-sprites.png) no-repeat;
    background-position: -80px 0;
    background-size: 200px;
    margin: 8px 3px 0 15px;
    position: relative;
    z-index: 1;
    float: left;
}

.msCancelBtn {
    width: 40px;
    height: 44px;
    margin-right: 5px;
}

.msCancelBtn span {
    width: 20px;
    height: 20px;
    margin: 12px 0 0 10px;
    width: 20px;
    height: 20px;
    display: block;
    background: url(../images/icon.png) no-repeat;
    background-size: 100% 100%;
}


/* 导航栏 */

main {
    display: flex;
}

.menu {
    width: 85px;
    background-color: #eee;
}

.menu-item {
    height: 46px;
    width: 84px;
    line-height: 46px;
    text-align: center;
}

.menu-item.active {
    background-color: #fff;
    color: red;
}

.branch {
    flex: 1;
    background-color: #fff;
}

.branch h4 {
    display: inline-block;
    line-height: 46px;
    font-weight: 800;
    margin-left: 5px;
    font-size: 14px;
}

.branch a {
    float: right;
    height: 14px;
    text-decoration: none;
    color: #ccc;
    margin-right: 10px;
    line-height: 46px;
}

.rank-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: url(../images/paihang.png);
    background-size: 12px 12px;
}

.branch span {
    font-size: 10px;
}

.branch.on {
    display: block;
}

.branch {
    display: none;
}

.right-arrow {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: url(../images/right.png);
    background-size: 12px 12px;
    position: relative;
    top: 1px;
}

.categor {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    padding: 7px, 10, 0, 10px;
}

.categor li {
    width: 84px;
    height: 107px;
    text-align: center;
}

.categor li img {
    width: 70px;
    height: 70px;
    vertical-align: middle;
}


/* footer */

footer {
    display: flex;
    justify-content: space-around;
}

footer div {
    width: 75px;
    height: 50px;
    text-align: center;
}

.pic {
    vertical-align: middle;
    width: 75px;
    height: 50px;
}